<template>
<div class="track-box">
  <div class="treack-top">
    <div class="treack-title">当前航次</div>
    <div class="treack-list">
      <div class="treack-item">
        <div class="item-title">PipeChina Hainan</div>
        <div class="item-time">装载时间：2022/12/22 23:00</div>
      </div>
      <a-divider style="border-color:#DCDEE0;width: 60%;min-width: 60%;" dashed />
      <div class="treack-item">
        <div class="item-title">天津</div>
        <div class="item-time">装载时间：2022/12/22 23:00</div>
      </div>
    </div>
  </div>
  <a-divider />
  <div class="treack-content">
    <a-row :gutter="24">
      <a-col :span="12">
        <div class="treack-info-item">
          <div class="treack-step">
            <a-steps direction="vertical" :current="1" progress-dot>
              <a-step title="Finished" description="This is a description.">

              </a-step>
              <a-step title="In Progress" description="This is a description." />
              <a-step title="Waiting" description="This is a description." />
            </a-steps>
          </div>

        </div>
      </a-col>
      <a-col :span="12">
        <div class="treack-info-item">
          <iframe id="mapIframe" ref="mapIframe" :width="'100%'" :height="400" src="http://d.myships.com:8091/haiyou/"></iframe>
        </div>
      </a-col>
      <a-col :span="12">
        <div class="treack-info-item">
          <div class="chart-title">航速、吃水趋势图</div>
        </div>
      </a-col>
      <a-col :span="12">
        <div class="treack-info-item"></div>
      </a-col>
    </a-row>
  </div>
</div>
</template>

<script setup>

</script>

<style lang="scss" scoped>
.track-box {
  background: #fff;
  padding: 20px;
}
.treack-top {
  width: 100%;
  .treack-title {
    color: #2C3749;
    font-size: 20px;
    text-align: left;
    font-weight: bold;
    margin-bottom: 24px;
  }
  .treack-list {
    display: flex;
    justify-content: space-between;
    width: 100%;
    .treack-item {
     // width: 30%;
      text-align: left;
      .item-title {
        color: #2C3749;
        font-size: 24px;
        font-weight: bold;
      }
      .item-time {
        color: #6B7A8B;
        font-size: 16px;
      }
    }
  }
}
.treack-content {
  .treack-info-item {
    width: 100%;
    height: 400px;
    border-radius: 4px;
    border: 1px solid #dcdee0;
    margin-bottom: 24px;
    //align-self: center;
    .treack-step {
      margin-left: 45%;
    }
  }
}
</style>
